/*
 * Copyright 2008-2023 dexian.vip. All rights reserved.
 * Support: http://www.dexian.vip
 * License: http://www.dexian.vip/license
 */

package vip.dexian.admin.dao;

import vip.dexian.admin.entity.RoleDepartment;
import vip.dexian.core.base.dao.BaseDao;

/**
 * 角色->部门Dao
 *
 * @author 挺好的 2023年06月08日 11:04:58
 */
public interface RoleDepartmentDao extends BaseDao <RoleDepartment, Long> {

    /**
     * 根据role id 删除
     *
     * @param roleId
     *         角色id
     *
     * @return 删除成功的数量
     */
    int deleteByRoleId (Long roleId);

}

